package com.you.pattern.decorator;

/**
 * 香肠装饰者 SausageDecorator 类
 */
public class SuasageBatterCakeDecorator extends BatterCakeDecorator {

    public SuasageBatterCakeDecorator(BatterCake batterCake) {
        super(batterCake);
    }

    @Override
    protected void additionalSomething() {

    }

    @Override
    protected String makeBatterCake() {
        return super.makeBatterCake() + "+1个香肠";
    }

    @Override
    protected int calculatePrice() {
        return super.calculatePrice() + 2;
    }
}
